package details;


/**
 * @author Tami
 *
 */
public class Comment extends Head {

	private String comment;
	private Target target;
	private User user;
	private String dateWithTime ;
	public Comment(int id_num,String comment ,User user, String dateWithTime) {
		super(id_num);
		setComment(comment);
		setTarget(target);
		setUser(user);
		setDate(dateWithTime);
		
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public Target getTarget() {
		return target;
	}
	public void setTarget(Target target) {
		this.target = target;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String getDate() {
		return dateWithTime;
	}
	public void setDate(String dateWithTime) {
		this.dateWithTime = dateWithTime;
	}

}
